import request from '../../utils/request'
/**
 * Author: Tzk
 * Name: 应用管理接口
 * Date: 2024/6/17
 */

// 分页查看方法
export function searchApp(data) {
    return request({
        url: '/book-account-service/admin/v1/app/query-app-page',
        headers: {
            isToken: true,
            app_id:true,
            repeatSubmit: false
        },
        method: 'post',
        data: data
    })
}

//修改方法
export function updateApp(data) {
    return request({
        url: '/book-account-service/admin/v1/app/update-app',
        headers: {
            isToken: true,
            app_id:true,
            repeatSubmit: false
        },
        method: 'post',
        data: data
    })
}

//新增方法
export function createApp(data) {
    return request({
        url: '/book-account-service/admin/v1/app/create-app',
        headers: {
            isToken: true,
            app_id:true,
            repeatSubmit: false
        },
        method: 'post',
        data: data
    })
}
